Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
authorCody Russell <bratsche@gnome.org>
Sun, 25 May 2008 23:41:43 +0000 (23:41 +0000)
committerCody Russell <bratsche@src.gnome.org>
Sun, 25 May 2008 23:41:43 +0000 (23:41 +0000)
commit6b06d71c2a647956ba124270e43cfe90c6de41b9
tree0930a8bae5354cdb337428d6f2f9e2f82c6f7a24
parent4f84a5f292ed40074a063427e99a623c71476e8c
Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
        when options are missing

        * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
        that other processes that try to open it will fail gracefully.  Also
        fix a crasher caused by lack of a NULL check.  Report and patch
        by Erwann Chenede.

svn path=/trunk/; revision=20167
ChangeLog
gtk/updateiconcache.c